/* 基础重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  background-color: #f0f2f5;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #1890ff;
}

button {
  outline: none;
  border: none;
  cursor: pointer;
}

input, textarea, select {
  outline: none;
  border: 1px solid #d9d9d9;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
  
  &:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  }
}

/* 通用样式类 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.form-item {
  margin-bottom: 20px;
  
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .error {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
  }
}

.btn {
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  
  &.btn-primary {
    background-color: #1890ff;
    color: #fff;
    
    &:hover {
      background-color: #40a9ff;
    }
  }
  
  &.btn-default {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    
    &:hover {
      border-color: #1890ff;
      color: #1890ff;
    }
  }
  
  &.btn-danger {
    background-color: #ff4d4f;
    color: #fff;
    
    &:hover {
      background-color: #ff7875;
    }
  }
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
} 